for i in range(10):
    if i == 2:
        continue  # 跳过本轮循环
    if i == 5:
        break  # 终止循环
    print(i)
